defining method edit of event to show properties
deletion of extra views of event model