Add the possibility to press enter to send a message
Prevent the sending of empty messages