Reset the styles before reloading.