@Override
    public void update(GameContainer container, StateBasedGame game, int delta) throws SlickException {
        // buttons[0].update(container, delta);
        if (container.getInput().isKeyPressed(Input.KEY_ESCAPE) && container.getInput().isKeyDown(Input.KEY_ESCAPE)
                || container.getInput().isKeyPressed(Input.KEY_BACK) && container.getInput().isKeyDown(Input.KEY_BACK)) {
            game.enterState(0);
        }
    }