public void updateRouteTrackButtonVisibility(final View button, final IndividualRoute route, final Tracks tracks) {
        final AtomicBoolean someTrackAvailable = new AtomicBoolean(isRouteNonEmpty(route) || isTargetSet.call());
        if (tracks != null) {
            tracks.traverse((key, r) -> {
                if (!someTrackAvailable.get() && isRouteNonEmpty(r)) {
                    someTrackAvailable.set(true);
                }
            });
        }
        button.setVisibility(someTrackAvailable.get() ? View.VISIBLE : View.GONE);
    }
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