Fix bug when query in continuously clicked
Merge pull request #68 from drcapulet/master

BUG: Query button event causes infinite button creation