Bootstrap them update with button

Hi,
Is there a possibility to replace (update theme like for ex. darkly with cosmo, united any other) bootstrap them that I keep in local directory (ex. from my asset or external folder). Where should ii be done to work correctly ?

I was trying to do this via this: (it works but I want to do this dynamically using callback button or something else)

bootstrap_css_themes_ignore = [‘darkly.bootstrap.min.css’, ‘united.bootstrap.min.css’, ‘lux.bootstrap.min.css’]

app = dash.Dash(name, assets_ignore=’|’.join(bootstrap_css_themes_ignore))

Check out this example from @AnnMarieW