Adding text attribute to submenu