Problem with PIR Sensor's control