Added an error dialog in case of no gcm connection.