Storing view in UserDefault