Store views in Userdefault