Updated to store folders in NSUserDefaults as NSArray instead of NSDictionary