private static void configureMenuItem(final MenuItem item, final boolean visible, final Boolean hidePerDefault) {
        item.setVisible(visible);
        if (hidePerDefault != null) {
            item.setShowAsAction(hidePerDefault ? MenuItem.SHOW_AS_ACTION_NEVER : MenuItem.SHOW_AS_ACTION_ALWAYS);
        }
    }
show a popup for track/individual route, opened by using a long-tap on that item on the map
main/src/main/java/cgeo/geocaching/maps/RouteTrackUtils.java