Fix not-closing bug with multiple tableview. Fixes #6