public void clickAction(){
        // extra code that runs after a successful state change
        switch(assignedState){
            case SETUP:
                cong.setState(Cong.STATE.GAME);
                cong.game.resetGame(); //Move this to "GAME" when the "SETUP" window is used
                break;
            case GAME:
                break;
            case HISTORY:
                break;
            case EXIT:
                try {
                    System.exit(0);
                }
                catch (Exception e) {
                    //e.printStackTrace();
                }
                break;
        }
    }