began adding table view to settings, adding in state restoration