Fix apply theme