BUG: Fixed toggling preferences. Checked against value rather than type.
BUG: Fixed toggling preferences. Checked against value rather than type.

SU-ECE-17-7/hotspotter,SU-ECE-17-7/hotspotter,Erotemic/hotspotter,Erotemic/hotspotter,SU-ECE-17-7/hotspotter,Erotemic/hotspotter