@Override
    protected String getTitle(final long pageId) {
        // show number of waypoints directly in waypoint title
        if (pageId == Page.WAYPOINTS.id) {
            final int waypointCount = cache == null ? 0 : cache.getWaypoints().size();
            return String.format(getString(R.string.waypoints_tabtitle), waypointCount);
        } else if (pageId == Page.VARIABLES.id) {
            final int varCount = cache == null ? 0 : cache.getVariables().size();
            return this.getString(Page.VARIABLES.titleStringId) + " (" + varCount + ")";
        } else if (pageId == Page.IMAGEGALLERY.id) {
            String title = this.getString(Page.IMAGEGALLERY.titleStringId);
            if (this.imageGallery != null) {
                title += " (" + this.imageGallery.getImageCount() + ")";
            }
            return  title;
        }  else if (pageId == Page.LOGSFRIENDS.id) {
            final int logCount = cache == null ? 0 : cache.getFriendsLogs().size();
            return this.getString(Page.LOGSFRIENDS.titleStringId) + " (" + logCount + ")";
        }
        return this.getString(Page.find(pageId).titleStringId);
    }
A dialog to allow the user to select reseting coordinates local/remote/both.
main/src/main/java/cgeo/geocaching/CacheDetailActivity.java