Improve swap accepted with synonym configurable
Copied from #6924:
The only refresh problem I see is that the navigator is not refreshed and still shows the old accepted taxon instead of the new one
But it is true that only the name is changed. The Taxon and Synonym objects are kept. This you can see by comparing IDs in supplemental data. Also the sec reference is not changed and stays with the according TaxonBase. Usually this is not an issue as most Synonyms have the same sec as the accepted taxon, but there are exceptions. Maybe we should show a dialog asking if the sec references should be kept or also switched for cases where the sec references are not equal.
Also keeping the id might be not wanted in some cases.