add icon property to menu item. support for nested submenu in template