Fixed and cleaned menu items array for not working directly with buttons but with MenuItems.
Added examples for changing the menu and menuItems properties