private void finalizeCommons(final AlertDialog dialog, final Func1<Integer, Boolean> buttonListener) {
        finalizeButtonCommons(dialog, DialogInterface.BUTTON_POSITIVE, positiveButton, buttonListener);
        finalizeButtonCommons(dialog, DialogInterface.BUTTON_NEGATIVE, negativeButton, buttonListener);
        finalizeButtonCommons(dialog, DialogInterface.BUTTON_NEUTRAL, neutralButton, buttonListener);
        this.alertDialog = dialog;
    }
Sets an action to execute when neutral button is clicked
main/src/main/java/cgeo/geocaching/ui/dialog/SimpleDialog.java