added filtering of result table by button.