Configuring the Proximity Sensor widget