We also need to update lightsOn, of course. Let's put the negation operator to good use.

Set lightsOn to the opposite of isDay.

Make sure your code reads var lightsOn = !isDay;.