Renamed function chooseButton to chooseRandomButton