Improved saving of the profiles [Finishes #84364548]