public void setUserDefinedFolder(final PersistableFolder folder, final Folder userDefinedFolder, final boolean setByUser) {
        folder.setUserDefinedFolder(userDefinedFolder, setByUser);
        documentAccessor.releaseOutdatedUriPermissions();
        ensureFolder(folder);
        //in case this shifts other default folders (e.g. when MAPS-folder is changed then default THEME folder might need new creation)
        PersistableFolder.reevaluateDefaultFolders();
    }
Sets a new User-defined Folder for a {@link PersistableFolder}.
main/src/main/java/cgeo/geocaching/storage/ContentStorage.java