reset selectedIndex whenever reassign arrangedObjects