Edit Chat functionality (send messages by press enter