Clear input text after submitting a message