input text done, auto refresh after text have been sent