fix null pointer when new view is created then closed after a vamsas sync of stored...