Transfers values only when switches changes the values