fix ability to switch themes between light and dark