crashing trying to figure out how to send message when done is pressed