Working with relay and PIR sensor