          const icon = viewToggleBtn.querySelector('i');
                                        if (icon.classList.contains('bi-grid-3x3')) {
                                            icon.classList.replace('bi-grid-3x3', 'bi-list');
                                        } else {
                                            icon.classList.replace('bi-list', 'bi-grid-3x3');
                                        }
                                    });
                                }
                