How can I change the index of a unique id widget?