Merge pull request #737 from skpcharles/master

code optimization in create Flag API
Fixed issue in newly Created Folders are not displayed in Assign Collections pop up