Init default view type when viewDidLoad.