Update TabbedMainView.java

It was crashing if we give any invalid tab on pressing back or home button