Fix bug with creating new menu item