Made a slight modification to allow the send message buttons to re-enable if message failed or was sent successfully.