Preferences now check the state of the check box correctly