python client: remove old result before show new result
python client: set focus to query input