Use ConnectionUpdateReceiver to detect network change events.
Check if online on  start and restart position  service.
Merge branch 'optimize-online-detection'

Conflicts:
	AndroidManifest.xml
Update version.