Add RecreateAllViews function
Merge pull request #131 from shenweip/patch-ui

Add RecreateAllViews function.