Fixed duration being 0 when clicking 'save'

I've fixed the error that deals with the duration combobox being decreased to 0 when clicking the save button