add service and broadcast receiver