code: public void restoreSettingsFromPreferences() {
          if (Strings.isNotEmpty(musicPreferences)) {
              if (Strings.isNotEmpty(musicVolumePreferenceName)) {
                  setMusicVolume(readFromPreferences(musicPreferences, musicVolumePreferenceName, musicVolume));
              }
              if (Strings.isNotEmpty(soundVolumePreferenceName)) {
                  setSoundVolume(readFromPreferences(musicPreferences, soundVolumePreferenceName, soundVolume));
              }
              if (Strings.isNotEmpty(musicEnabledPreferenceName)) {
                  setMusicEnabled(readFromPreferences(musicPreferences, musicEnabledPreferenceName, musicEnabled));
              }
              if (Strings.isNotEmpty(soundEnabledPreferenceName)) {
                  setSoundEnabled(readFromPreferences(musicPreferences, soundEnabledPreferenceName, soundEnabled));
              }
          }
      }
docs: Restores music and sound settings to the values stored in preferences. Music preferences have to be properly
  annotated with {@link com.github.czyzby.autumn.mvc.stereotype.preference.sfx.MusicVolume},
  {@link com.github.czyzby.autumn.mvc.stereotype.preference.sfx.MusicEnabled},
  {@link com.github.czyzby.autumn.mvc.stereotype.preference.sfx.SoundVolume} and
  {@link com.github.czyzby.autumn.mvc.stereotype.preference.sfx.SoundEnabled} for each setting to work.