Update gcm-notifications sample

Update gcm-notifications sample to fix a couple small issues.