Finally got the dictionary into user defaults.