private void recordVerdict(int v) throws DocumentException, FileNotFoundException {
        if (isBackSNP()) {
            listScores.put(snpList.get(displaySNPindex), v);
            printScores();
            setBackSNP(false);
            if (displaySNPindex == 0) {
                backButton.setEnabled(true);
            }
            displaySNPindex = currentSNPindex;
            plotIntensitas(snpList.get(currentSNPindex));
        } else if (isHistorySNP()) {
            listScores.put(snpList.get(displaySNPindex), v);
            printScores();
            setHistorySNP(false);
            if (displaySNPindex == 0) {
                backButton.setEnabled(true);
            }
            displaySNPindex = currentSNPindex;
            plotIntensitas(snpList.get(currentSNPindex));
        } else {
            listScores.put(snpList.get(currentSNPindex), v);
            printScores();
            if (currentSNPindex < (snpList.size() - 1)) {
                currentSNPindex++;
                displaySNPindex = currentSNPindex;
                backButton.setEnabled(true);
                plotIntensitas(snpList.get(currentSNPindex));
            } else {
                plotIntensitas("ENDLIST");
                activeScorePanel(false);
                returnToListPosition.setEnabled(false);
                int n = JOptionPane.showConfirmDialog(
                        this.getContentPane(),
                        "Would you like to finish scoring the current list?",
                        "Finish scoring list?",
                        JOptionPane.YES_NO_OPTION,
                        JOptionPane.QUESTION_MESSAGE);
                // n 0 = yes 1 = no
                if (n == 0) {                    
                    setMarkerList(false);
                    randomSNPButton.setEnabled(true);
                    snpList.clear();
                } else {
                    activeScorePanel(true);
                    plotIntensitas(snpList.get(currentSNPindex));
                }
            }
        }        
    }