Set view type crashes for menu
Since 3742dd6340ec the current view type is store on the tab when the view is switched.
But it crashes when menu screen is displayed because there is no current tab.
Also it uses the value Tab.view_type
which does not exist instead of Tab.current_view_type
.