fixed #2034:use previous path to get UserDefault.xml
Merge pull request #2344 from minggo/userdefault-hotfix

fixed #2034:use previous path to get UserDefault.xml