Add listening to delete event, add button to delete all data from index