Saving values of registry