When I remove particular headings from my ToC and save this formatting, as soon as I edit the document the ToC completely resets and I have to reformat it all over again.
If you offer the ability to customize the ToC then the settings should save permanently when saved.