bug fix for new tasks

When a new task was added the start_time for it was incorrectly set to
“undefined”. It is now null