Add UI button to query