added complete task and postpone task code