Implement the preference page
add constraints for preference