Run app under lockscreen

The app continous to run even if the lockscreen has been enabled.
Further the lockscreen will only be disabled if the flashlight is on.