public static boolean saveProperties(Path settings) {
        boolean ret = true;

        if (initialized) {
            if (Files.exists(settings.getParent(), LinkOption.NOFOLLOW_LINKS)) {
                try (BufferedWriter writer = new BufferedWriter(new FileWriter(settings.toString()))) {
                    prop = new Properties();

                    {
                        prop.setProperty(PROPERTIES_BACKUP, "" + backUp);
                        prop.setProperty(PROPERTIES_FIRSTSTART, "" + skipFirstStartDialog);
                        prop.setProperty(PROPERTIES_SCALEEDITORBG, "" + scaleEditorBg);
                        prop.setProperty(PROPERTIES_LANG, "" + lang.getLanguageString() + " " + lang.getCountryString());
                        prop.setProperty(PROPERTIES_FCPATH, "" + filechooserBasepath);
                    }
                    prop.store(writer, PROPERTIES_DESCRIPTION);

                } catch (IOException e) {
                    Main.showProblemMessage(e.getMessage());
                }
            } else {
                ret = false;
            }
        }

        return ret;
    }