public SettingsManager() throws IOException {
        prefsFile = new File("eu/beatsleigher/beattime/plugin/preferences/cfg");
        preferences = new HashMap<>();
        
        if (!prefsFile.exists()) {
            prefsFile.getParentFile().mkdirs();
            prefsFile.createNewFile();
            savePrefs();
            loadPrefs();
        }
        
        loadPrefs();
    }