Fixed a crash bug that occurred when entering a duration of “0” when the duration field was displaying the default text.