use view settings() instead of loading it from preferences, since
the view settings may be different from the preferences