Finished adding an event in the database