I believe you're using the same name for each checkbox, right?!
If so, each checkbox has an index number which represents its position relative to the other copies in the XML tree and when you add, delete or reorder the copies the index will always be recreated because thats the way how XML works.
There is no way to stop Designer from doing this, I'm afraid.
To address individual objects through JavaScript you should use unique names.