added the feature to delete tasks