Run theme.generate after theme is modified