add and removing events works fine, there is a bug on editing an event