utils: Check if nightMode module is enabled before styling

Fixes #1433. Night mode should not be enabled if the module is disabled.
@honestbleeps I'm not sure how to create these events... is there any function somewhere that gets called when a module is disabled?