removed repeated code
modified task handler for task deletion
Merge pull request #181 from Somesh/master

task delete method modification