Demonstrates usage of proximity sensor in a background task to monitor the changes in the proximity of the selected sensor