class ConfigurationContext extends GraphicalContext<BorderPane> {

    static void changeMusicFolder(final String newMusicFolder, Configuration config) {

        String musicFolder = newMusicFolder;

        if (musicFolder.isBlank()) {
            File gazePlayFolder = GazePlayDirectories.getGazePlayFolder();
            File gazePlayMusicFolder = new File(gazePlayFolder, "music");

            String songName = Configuration.DEFAULT_VALUE_BACKGROUND_MUSIC;
            setupNewMusicFolder(gazePlayMusicFolder, songName);

            musicFolder = gazePlayMusicFolder.getAbsolutePath();
        }

        config.getMusicFolderProperty().setValue(musicFolder);

        BackgroundMusicManager musicManager = BackgroundMusicManager.getInstance();

        boolean wasPlaying = musicManager.isPlaying();

        musicManager.emptyPlaylist();
        musicManager.getAudioFromFolder(musicFolder);

        if (wasPlaying)
            musicManager.play();
    }

      ConfigurationContext(GazePlay gazePlay);

}