           // Update results
                    displayResult(provinceDropdown.selectedItem, ward);
                },
                onClear: () => {
                    document.getElementById('wardSelect').value = '';
                    displayResult(provinceDropdown.selectedItem);
                }
            });
            
            // Set province data
            provinceDropdown.setData(allProvinces);
            
            // Setup download buttons
            setupDownloadButtons();
    