Change to run query on button click

The table was updated every change of a filter item. This results in
too many data fetches