Update flashcard.js

re-order the sequence: change size of questions per test -> restart drawing a sample