fixed incomplete creation of task in NewTaskActivity
fixed bug and simplified loading of parent task in EditTaskActivity