public int getDigitToTypeIndex() {
        Widget clickText = widgets.get(PARENT_ID, 151);
        if (clickText != null) {
            if (clickText.getText().equals("First click the FIRST digit."))
            	return 0;
            else if (clickText.getText().equals("Now click the SECOND digit."))
            	return 1;
            else if (clickText.getText().equals("Time for the THIRD digit."))
            	return 2;
            else if (clickText.getText().equals("Finally, the FOURTH digit."))
            	return 3;
        }
        return -1;  //shouldn't ever get here
    }