When I added 'Store', the already granted store data Security got deleted. Why?

When I added 'Store', the already granted store data Security got deleted. Why?

This happens when there are duplicate store code entries in the store list. Ensure that you enter unique store codes.