Fixed some bugs and warnings

- Fixed some checkstyle warnings.
- Fixed notification error.
- Fixed geofence warning.