Added function to save Events in the DDBB
minor changes