@Override
	public void keyReleased(KeyEvent k) {
		if (!fieldInited)
			return;
		if (!isAlive()) {
			this.lives = 3;
			this.initField();
			gameOverlay.clearLastDialog();
		}
		if (k.getKeyCode() == KeyEvent.VK_UP
				|| k.getKeyCode() == KeyEvent.VK_KP_UP
				|| k.getKeyCode() == KeyEvent.VK_DOWN
				|| k.getKeyCode() == KeyEvent.VK_KP_DOWN) {
			if (currentTileType == 1)
				snakeSpeed = 4;
			else if (currentTileType == 2)
				snakeSpeed = 1;
			else
				snakeSpeed = 2;
		}

	}