Performance enahncement: defer the initialization of the task creating/editing to the last possible moment.