Added validation for the odometer text field