Changes in the magnetization of a double quantum dot