Showing the events on click