WattApi writeRegistryIfNecessary method ( relies on watt object hasChanged state