Implement NSUserDefaults

So the settings key should look like `DEBUGenvironment_choice`. You can also make a check that there are no duplicates for these keys.