Background App Problem Proxsensor.aia

Hey guys. I recently tried to compile and download tihis app:
Proxsensor.aia (469.7 KB)
which in the background should activate the flashlight if it detects a change in the proximity sensor.
The app itself works but after I close the app the sensor detects an obstacle once, turns on the light and then the app no longer works but not in the sense that it stops but in the sense that the background service remains active but the ProximityChange event does not activate the flashlight.
I need help!!!

did you try this tip?