Change value in DB, when value on device changing.