Modify to avoid NullPointer in case of receiving GCM Push