Store last values on event end