set and reflect preference for Shiny viewer type