Able to add view as a menuitem