Added volume attribute to Preferences and implemented persist_volume method to save normalized media volume.