Fix some bugs with night mode switching. Add icon for quick switching. Fixes #248