Clear text field only if we successfully sent message