Fix bug where first button is re-selected when redrawing the list.