view as enum
add backwards compatibility to old initial view preference
Merge pull request #71 from da2ce7/view_enum_for_4.0

view as enum