Fix for GCM device not registered error #36

Fix for GCM device not registered error #36