Got clearData function firing with clear button only and delete button firing delete function. Still working on edit button and need to fix alerts and confirmation messages firing twice.