adding API to store settings into NSUserDefaults. Resigned applications might not work correctly with the Security framework.  Not sure.