private void checkAndUploadPersonalNote(final PersonalNoteCapability connector) {
        final int personalNoteLength = StringUtils.length(cache.getPersonalNote());
        if (personalNoteLength > connector.getPersonalNoteMaxChars()) {
            final int reduceLength = personalNoteLength - connector.getPersonalNoteMaxChars();
            SimpleDialog.of(this).setTitle(R.string.cache_personal_note_limit).setMessage(R.string.cache_personal_note_truncated_by, reduceLength, connector.getPersonalNoteMaxChars(), connector.getName()).confirm(
                    this::uploadPersonalNote);
        } else {
            uploadPersonalNote();
        }
    }
A dialog to allow the user to select reseting coordinates local/remote/both.
main/src/main/java/cgeo/geocaching/CacheDetailActivity.java