Fix buggy SwitchPreferences by replacing with checkboxpreference