Get the table to change as well when clicking the filter buttons.