Fixed the calendar bug - impossible to open an event more than once