Could you please specify the exact changes which were reset ? What do you mean by "applying a new theme", is it installing new template module ?