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
Merge pull request #3 from bollafax/patch-1

Fixed duration being 0 when clicking 'save'