Fix error on GUI color theme change for single view.

Theme change code did not know that one current view can be None.
Merge pull request #287 from hjoliver/bug-fix-theme-change

Fix error on GUI color theme change for single view.