make the "Query Builder" button functioning