added a state preserving state filter to the table