fixes #3287 Whats Changed lost when browsing in preview mode

Fixed the issue and committed code for review, please check it.