clear text input after sending a message