added form validation to edit exercise screen