spinner for calibration added, function added in db helper