public static final String SELECT_FAVORITE_POINT_INTENT_KEY = "SELECT_FAVORITE_POINT_INTENT_KEY";
public static final int SELECT_FAVORITE_POINT_RESULT_OK = 1;
private FavouritesAdapter favouritesAdapter;
private boolean selectFavoriteMode;
private OsmandSettings settings;
<BUG>private LatLon location;
@Override</BUG>
public void onAttach(Activity activity) {
super.onAttach(activity);
settings = ((OsmandApplication) getApplication()).getSettings();

public static final String SELECT_FAVORITE_POINT_INTENT_KEY = "SELECT_FAVORITE_POINT_INTENT_KEY";
public static final int SELECT_FAVORITE_POINT_RESULT_OK = 1;
private FavouritesAdapter favouritesAdapter;
private boolean selectFavoriteMode;
private OsmandSettings settings;
private boolean compassRegistered;
@Override
public void onAttach(Activity activity) {
super.onAttach(activity);
settings = ((OsmandApplication) getApplication()).getSettings();
