Fixed the call back settings and implemented the send message