changed the event being emitted and listening adjusting the active menu item