GUI uses new default program that includes duration_type

It also sets the fields "duration_type" properly and hides the
appropriate duration field when needed.