Adds events for theme and menu