Improve the theme switch by first disabling enabled themes then loading
new theme
Refactor - Extract common behavior