Handle failure to toggle light

Handle it by reloading the entire page. A little crude, sure, but it
does at least work.