Add functionality to send button