new function of saving data in Defence Activity