set and launch root view controller from uiwindow