Fix save values into database on change value event