Turn on the light when motion is detected