Moved GCM API settings.
Check for registered devices before sending GCM notification.