private void WriteChapterDecks() { EnablePermanentExtraOptionsFromUI(mChapterEnabledOptions); List <Deck> chapterDecks = mDeckSerializer.GetChapterDecks(); ResetProgressBar(chapterDecks.Count); foreach (Deck deck in chapterDecks) { mDeckSerializer.WriteSingleDeck(deck); IncrementBar(); } mDeckSerializer.ClearPermanentExtraOptions(); }