Save before changing style