Added send button's action listener and made the textfield auto-send the
message when enter is pressed.