Fixes problem bug 382 when saving a new task.

Signed-off-by: Michel <info@1st-setup.nl>