public static void onCreatePopupOptionsMenu(final Toolbar toolbar, final INavigationSource navigationSource, final Geocache geocache) {
        final Menu menu = toolbar.getMenu();
        menu.clear();
        toolbar.inflateMenu(R.menu.cache_options);
        CacheMenuHandler.onPrepareOptionsMenu(menu, geocache, true);
        CacheMenuHandler.initDefaultNavigationMenuItem(menu, navigationSource);
        ViewUtils.extendMenuActionBarDisplayItemCount(toolbar.getContext(), menu);
        menu.findItem(R.id.menu_target).setVisible(true);
        LoggingUI.onPrepareOptionsMenu(menu, geocache);
    }
Set the current popup coordinates as new navigation target on map
main/src/main/java/cgeo/geocaching/AbstractDialogFragment.java