Stairs lightning LED off issue

Thanks a lot for the effort. Is there anyone who can modify the code so that the leds go off if no motion is detected?
It has taken me a long time to setup what i have now, but i am stuck now.

It would be appreciated if someone would help me out.

Thank you.