Fix for the rounding down issue

This will allow editing entries with a duration of 0 seconds so rounding down to 0 seconds is not an issue anymore.

Additionally there is a new global option to enable and disable rounding down.