add BroadcastReceiver and IntentService.