#63 #97 Add preference. Refactor SettingsFragment state.