public void selectNextItem() {
        if (currentItem < 0 || currentItem >= items.size()) return;

        for (int i = currentItem + 1; i < items.size(); i++) {
            if (items.get(i).isSelectable()) {
                currentItem = i;
                return;
            }
        }

        for (int i = 0; i < currentItem; i++) {
            if (items.get(i).isSelectable()) {
                currentItem = i;
                return;
            }
        }
    }