buttons updating dynamically with new options on each click