Added unregistration from accelerometer sensor when the service is destroyed