changed the one method in th ThemeManager