Added button to trigger the query