made small fix to keep editor in night mode after reloading