Need to change logic of when distance is being calculated, after reset it is using one of the old values when the second has not been chosen yet.