The animation below is running a heavy task while changing the color theme. If you click on the button at such moment, the interaction is blocked for a short while causing bad user experience.
Canvas on main thread
Interaction is blocked when a theme is loading
Canvas on worker thread
Interaction works even if a theme is loading