Extracted view generation to MenuItemFactory