Finished the task of clearing the message boxes after a message has been sent