public static void loadProperties(Path settings) {
        prop = new Properties();

        if (FileUtil.control(settings)) {
            try (FileReader reader = new FileReader(settings.toString())) {
                prop.load(reader);

                {
                    backUp = Boolean.parseBoolean(prop.getProperty(PROPERTIES_BACKUP));
                    skipFirstStartDialog = Boolean.parseBoolean(prop.getProperty(PROPERTIES_FIRSTSTART));
                    scaleEditorBg = Boolean.parseBoolean(prop.getProperty(PROPERTIES_SCALEEDITORBG));
                    filechooserBasepath = Paths.get(prop.getProperty(PROPERTIES_FCPATH));

                    String tmp = prop.getProperty(PROPERTIES_LANG);
                    if (tmp != null) {
                        String[] tmpAr = prop.getProperty(PROPERTIES_LANG).split("\\s");
                        if (tmpAr.length == 2) {
                            lang = LanguageUtil.getLanguage(tmpAr[0], tmpAr[1]);
                        }
                    }
                }
                initialized = true;

            } catch (IOException
                    | NullPointerException e) {
                Main.showProblemMessage(e.getMessage());
                initNew();
            }

        } else {
            initNew();
        }
    }