Add a constraint to prevent setting user preferences to invalid values