I have a list that displays navigation links. Users are able to add and remove elements to the list. When an element is removed, the selected navigation link should stay selecte