fixes error in taskForm (nullpointer) and (probably) error with taskListFragment