Update TabbedMainView.java

Tabbar was crashing due to invalid tab