integrating gcm with checkbox