private static void setTrackColor(final Activity activity, final Tracks tracks, final String key, final MenuItem item, final Tracks.UpdateTrack updateTrack) {
        new ColorPickerUI(activity, tracks.getColor(key), tracks.getWidth(key), false, 0, 0, true, true).show((newColor, newWidth) -> {
            tracks.setColor(key, newColor);
            tracks.setWidth(key, newWidth);
            setColorIcon(item, newColor);
            updateTrack.updateRoute(key, tracks.getRoute(key), tracks.getColor(key), tracks.getWidth(key));
        });
    }
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