public void commandAction(Command command, Displayable displayable) {
        String commandLabel = command.getLabel();
        try {
            if (PlaygroundApp.ROOM_SELECTED_COMMAND.equals(commandLabel)) {
                launchRoomScreen();
            } else if (PlaygroundApp.TURN_ON_LIGHT_COMMAND.equals(commandLabel)) {
                turnOnTheLight();
            } else if (PlaygroundApp.TURN_OFF_LIGHT_COMMAND.equals(commandLabel)) {
                turnOffTheLight();
            } else if (PlaygroundApp.BACK_COMMAND.equals(commandLabel)) {
                display.setCurrent(roomCatalogForm);
            } else if (PlaygroundApp.ENABLE_WIFI_COMMAND.equals(commandLabel)) {
                bluetoothManager.startDeviceSearch(BluetoothManager.ENABLE_COMMAND, livingRoomForm);
            } else if (PlaygroundApp.DISABLE_WIFI_COMMAND.equals(commandLabel)) {
                bluetoothManager.startDeviceSearch(BluetoothManager.DISABLE_COMMAND, livingRoomForm);
            }
        } catch (IOException ex) {
            ex.printStackTrace();
            display.setCurrent(new Alert("Error", "Ha ocurrido un error inesperado",
                    null, AlertType.ERROR));
        }

    }