FIX Config settings returned to normal after publishing completes

If you call static publishing yourself via onAfterWrite() of a DO, then the response uses your theme's templates to render the response - breaking the CMS. This fix returns all the configs that are changed back to their original state