Needed to be SwitchPreference, not CheckBox.

Change-Id: I17c0f47c89a893c499842bc466276589735c9355