Setting up the handling of GCM notifications