private void checkForInput() {
		float screenX = Gdx.input.getX();
		float screenY = Gdx.input.getY();
		for (GameButton gameButton : buttons) {
			boolean inputIsInside = gameButton.getBoundingRectangle().contains(screenX,
					Gdx.graphics.getHeight() - screenY);

			// System.out.println(inputIsInside +
			// ","+gameButton.getBoundingRectangle().toString() + "----"
			// +screenX+","
			// + (Gdx.graphics.getHeight() - screenY));
			if (inputIsInside && Gdx.input.justTouched()) {
				MusicPlayer.getInstance().playSoundSelect();
				gameButton.executeAction();
			}
		}
		if(Gdx.input.isKeyPressed(Keys.BACK)){//pressing the back key you exit from the application
			Gdx.app.exit();
		}
	}