filtering with button click now working