minor updates on selected events: deleteButton and selectedText now appear when event is clicked and hides when event is deselected or deleted