implement dependencies in PreferenceSwitchable
move prefs around and configure dependencies