Added setEventDeleted method for setting visibility of event.