Added methods and click events for menu items.