cleanup in the StandardThemeSelector