The table view refreses at each viewDidAppear and removed the tab view, have to redo it