This if is unecessary since input_errors is unset in the line above
Fix indent and spaces
More non-functional changes to make code more readable
Use GPS type presets only to pre-set values then user can change it. After user changes, save type always as Custom to avoid overwriting values when user attempt to edit. It fixes #3782