Fixied the changing collection problem. Now trying to make an error message occur if there is a problem with adding an event