Fix error on GUI color theme change for single view.

Theme change code did not know that one current view can be None.