@Override
    public void actionPerformed(ActionEvent e)
    {
        Object source = e.getSource();

        // If we submit an answer
        if (source == submit)
        {
            selectShowing = false;
            WordFinder.kill();
            this.submitAnswer();
            this.conditionalClearInput();
            this.saveCurrentGame();
            mainParent.save();
            WordFinder.update();
        }
        // if we reset/clear the board
        else if (source == reset)
        {
            this.resetGame();
            this.saveCurrentGame();
            mainParent.save();
        }
        // Change dict/type/board
        else
        {
            WordFinder.kill();
            this.clearOldAnswer();

            for (int i = 0; i < boardChecks.length; i++)
                if (source == boardChecks[i]) this.selectBoardCheck(i);
            for (int i = 0; i < gameTypeChecks.length; i++)
                if (source == gameTypeChecks[i]) this.selectGameTypeCheck(i);
            for (int i = 0; i < dictChecks.length; i++)
                if (source == dictChecks[i]) this.selectDictCheck(i);

            this.saveCurrentGame();
            mainParent.save();
        }
    }