set start to previous day when end < start

If an activity has a start time that is greater than the end time, for
example if you start at 23:30 and end at 1:20 it will assume the start
time is from the previous day and that the end time is from the current
day.

This might not work well if the whole time is entered prior to midnight.
This is something well need to fix later.