switch fix: setEnabled to setChecked
moved prefs and settings initialization in onCreate (wasn't working in the constructor)