added functionality to check off items and add new items to tableview