private void showNextQuestion(){

//         output in order
//        currentWord = wordList.get(currentWordIndex);
//        currentWordIndex++;

        if (listForRepetition.isEmpty()){
            nextPhraseBtn.setEnabled(false);
            saveStatsToFile();
            phraseQuestion.setText("That was last phrase for this training!");
        } else {
            currentWord = listForRepetition.get(0);
            System.out.println("list: "+listForRepetition.toString());
            phraseQuestion.setText(currentWord.getWord());
//        if (currentWord.getDateOfAddition().after(someDate.getTime())) {
//            System.out.println("EARLIER");
//        } else {
//            System.out.println("OLDER");
//        }
            nextPhraseBtn.setEnabled(false);
            resultLabel.setText("");
            listForRepetition.remove(0);
        }

    }