made items selectable, added delete functionality