Added clearing of message upon message sending