#301 - Refactor night mode timer