fix Tabbed Application on Appdelegate.m