fixed 'duplicate case' error in handleCalibrateState()