save css files before reloading