Set the root view controller correctly