Fixed PrefService. Added missing breaks inside switch.