added theme change hook