handleFilterChanged method
Handles the filter changed event.
This method calls the onFilterChanged callback with the provided filter
and then calls handleUpdateUI.
Implementation
void handleFilterChanged(FilterModel filter) {
onFilterChanged?.call(filter);
handleUpdateUI();
}