menu change code is added, because menu is a component we can reach to menuitems by order and change their attributes and we dont need to define properties for each menuitem or submenuitem in xml file