public static void editPersonalNote(final Geocache cache, final CacheDetailActivity activity) {
        if (cache == null) {
            return;
        }
        if (cache.getVariables().wasModified()) {
            // make sure variables state gets updated before saving cache
            cache.getVariables().saveState();
        }
        activity.ensureSaved();
        final FragmentManager fm = activity.getSupportFragmentManager();
        final PersonalNoteCapability connector = ConnectorFactory.getConnectorAs(cache, PersonalNoteCapability.class);
        final EditNoteDialog dialog = EditNoteDialog.newInstance(cache.getPersonalNote(), cache.isPreventWaypointsFromNote(), (connector != null && connector.canAddPersonalNote(cache)));
        dialog.show(fm, "fragment_edit_note");
    }
A dialog to allow the user to select reseting coordinates local/remote/both.
main/src/main/java/cgeo/geocaching/CacheDetailActivity.java