Reset events after click