private static void configureVisibility(final MenuItem item, final boolean isHidden) {
        item.setIcon(isHidden ? R.drawable.visibility_off : R.drawable.visibility);
        item.setTitle(CgeoApplication.getInstance().getString(isHidden ? R.string.make_visible : R.string.hide));
    }
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