Method to save license state