Execute theme event handlers once on page load

Firefox (and other browsers probably as well) keeps checkboxes' checked status when reloading a page, so their handler has to be called as well then.