fix the viewcontoller loading in appLaunch method