Restore the edit view after switching to view mode.