cocos2d-x doesn't use default pref, so change the purgeDeafaultForKey