Refactor code such that it becomes possible to have several filterable tables in a given view/controller and any given time.