Saved HTML not wokring

Hi everyone,

I want to save my panel app as html to share it easily, but unfortuanely that does not work as expected.
When using pn.serve(), everything works fine.

Here is my minimal example:

import panel as pn
import holoviews as hv
import param
import pandas as pd
import logging
import bokeh.resources
hv.extension("bokeh")


class DataExplorer(param.Parameterized):
    unit_sel = param.Selector(default='[m³/s]',label="Unit", objects=['[mNN]', '[m³/s]', '[cm]'])
    years_sel = param.ListSelector(default=[],label="Years", objects=[])
    stations_sel = param.ListSelector( default=[],label="Stations", objects=[])


    def __init__(self, 
                 df: pd.DataFrame, 
                 **params):
        super().__init__(**params)
        self.data= df.copy()

    @param.depends("unit_sel", watch=True)
    def _update_stations(self):
        t_stations = self.data.filter(like=self.unit_sel).columns.to_list()
        if self.stations_sel:
            self.stations_sel = []
        self.param.stations_sel.objects = t_stations   

    @param.depends("stations_sel", watch=True)
    def _update_years(self):
        if not self.stations_sel:
            self.years_sel = []
            self.param.years_sel.objects = []
            return
        # select columns from dataframe (stations), then get the years from ulti index 
        t_years = self.data.loc[:, self.stations_sel.value].dropna(how='all').index.get_level_values("year").unique().tolist()
        t_years.sort(reverse=True)
        if not self.years_sel:
            self.years_sel = t_years[:5]
        self.param.years_sel.objects = t_years

    def view(self):
        self._update_stations()
        return pn.Column(
                self.param.unit_sel,
                self.param.stations_sel,
                self.param.years_sel, 
                )

if __name__ == "__main__":
    df = pd.read_csv('data/df.csv', parse_dates=['Datum'], index_col=['Datum','year','month','day','month_day', 'day_of_year'])
    explorer = DataExplorer(df)
    #pn.serve(explorer.view()) # this works fine
    explorer.view().save('explorer.html', resources= bokeh.resources.INLINE, embed=True)

When changing the Unit, the stations get updated, but the updating of the years does not work when changing the stations.
Thanks for any advice, as I alredy spent a lot of time trying different things out to make it work.

Best regards

Karl