We save the id of the record in a global array and every time we click on the button - learn, repeat we randomly show the id from these records. But the problem is that if you close the application, it forgets the data recorded there. When authorizing, the logic works well!
Project 443190
Screen verify > button Log in
we write to array variable data
Screen word
if we press learn or repeat data is shuffle and write to global model