Style changing to night mode working