Replace CheckBoxPreference by a master Switch in the ActionBar