AddEvent now creates a new event in the selected timeline with the selected category.