Add functionality to delete tasks