Saved scale factors to database to improve editing of grid questions