private void getPrefs() {
        refreshDevices_settingsButton.setSelected(settings.refreshDevices());
        refreshInterval_settingsTextField.setText(String.valueOf((settings.getDeviceRefreshInterval() / 1000)));
        checkForUpdates_settingsButton.setSelected(settings.checkForUpdatesOnStartup());
        autoUpdate_settingsButton.setSelected(settings.autoUpdate());
        sendLogs_settingsButton.setSelected(settings.sendLogs());
        showLog_settingsButton.setSelected(settings.showLog());
        DefaultListModel model = new DefaultListModel();
        for (UIManager.LookAndFeelInfo info : UIManager.getInstalledLookAndFeels())
            model.addElement(info.getName());
        themeSelector_settingsList.setModel(model);
        themeSelector_settingsList.setSelectedValue((Object) settings.getLookAndFeel(), true);
        model = new DefaultListModel();
        for (Language lang : Language.values())
            model.addElement(lang);
        langSelector_settingsList.setModel(model);
        langSelector_settingsList.setSelectedValue((Object) settings.getLanguage(), true);
    }