Implementing send to GCM, and canceling the timer task once the
notification has been sent.