added validations for edit schedule screen