Fix theme change action that is causing build errors