public void keyReleased(KeyEvent e){
        try {
            if(e.isActionKey()) {
                if (KeyEvent.VK_DOWN == e.getKeyCode()) {
                    System.out.println("false");
                    selectorPosition = false;
                    loadSelector();
                } else if (e.getKeyCode() == KeyEvent.VK_UP) {
                    System.out.println("true");
                    selectorPosition = true;
                    loadSelector();
                }
            }else if(e.getKeyCode() == KeyEvent.VK_ENTER){
                System.out.println("Pressed Enter");
                if(selectorPosition){
                    frameWindow.removeKeyListener(this);
                    LoadGame loadGame = new LoadGame(frameWindow,gamerID);
                    if(gamerID == 0){
                        startGameServer=true;
                        loadGame.setSenderServer(sendServerData);
                        receiveServerData.setLoadGame(loadGame);

                    }else if(gamerID == 1){
                        sendClientData.sendData("EnterPress");
                        loadGame.setSenderClient(sendClientData);
                        receiveClientData.setLoadGame(loadGame);
                    }
                    loadGame.background();
                    loadGame.ball(0,0);
                    loadGame.racketLeft(0);
                    loadGame.racketRight(0);
                }else{
                    System.out.println("Selector is Down");
                }
            }
        } catch (Exception en) {
            System.err.println("Error caused by:" + en);
            en.printStackTrace();
        }
    }