Changed a TablePage method to take TableState rather than TableData as that is what it uses
Made what causes going to a new page more obvious by adding TableStateProperty to various places. If you want to go to a new page this is the state that should be updated.