Fix bugs

- Fix a bug of unmatched Bearloc event types
- Wifi a bug that wifi didn't unregister scan receiver