private void checkSelectedMenuItem() {
        if (selectedButton == Button.RESUME.pos) {
            stage.clear();
            running = true;
        } else if (selectedButton == Button.SOUND.pos) {
            if (Settings.GLOBAL_SOUND) {
                pauseButtons[selectedButton].setText("Lyd av");
                Settings.setSound(false);
            } else {
                pauseButtons[selectedButton].setText("Lyd på");
                Settings.setSound(true);
            }
        } else if (selectedButton == Button.BACK.pos) {
            if (this instanceof MainScreen) {
                stage.clear();
                running = true;
            } else {
                game.setScreen(PVU.MAIN_SCREEN);
            }
        } else if (selectedButton == Button.EXIT.pos) {
            System.exit(0);
        }
    }