Implemented sending with the "Send" button