Allow setting the default view.
Corrected broken way of last commit.