Changed the selected index reset to 0 after a guess