added ability to toggle tasks