fixed issue with losing data when switching back and forth from homepage table view