added event-selected event to register selected events