Fix crash on add new time entry