Fix mileage entry form reset on submit.

Fix #10