Move viewWillAppear code to init

And viewWillDisappear to dealloc (these methods are for ViewControllers
and were accidentally copypasta’d into the TableView impl)