clear task components after adding a task