udpate button status when connect and query
fix queryjson bug when clear queryjson text