wifi direct demo: 注册/注销 BroadcastReceiver 时机调整