private void startNoteGame() {

        initNoteGame();     // to stop last game
        updateTonality(); //when selected random tonality

        if (noteLevel.isNormalgame() || noteLevel.isLearninggame()) {
            if (noteLevel.isNotesgame() || noteLevel.isAccidentalsgame() || noteLevel.isCustomNotesgame()) {
                newnote();
            } else if (noteLevel.isChordsgame()) {
                newChord();
            } else if (noteLevel.isIntervalsgame()) {
                newinterval();
            }
        } else if (noteLevel.isInlinegame()) {
            createline();
        }

        parti = true;        // start of game
        startButton.setText(bundle.getString("_stop"));
    }