@Override
    protected Result unhandledKeyboardEvent(Key key) {
        if(getSelectedIndex() == -1)
            return Result.EVENT_NOT_HANDLED;
        
        if(key.getKind() == Key.Kind.Enter || key.getCharacter() == ' ') {
            if(itemStatus.get(getSelectedIndex()) == true)
                itemStatus.set(getSelectedIndex(), Boolean.FALSE);
            else
                itemStatus.set(getSelectedIndex(), Boolean.TRUE);
            return Result.EVENT_HANDLED;
        }
        return Result.EVENT_NOT_HANDLED;
    }