Added validations to options page