Log only clicked button in console, attach event to all buttons (new or existing)

currently clicked event code is out of mutation logic:

Strange as soon as I remove svg under the insertable button, it results in just one click. Inside button element if you nest any elemnt such as div, svg click fails. but not when like this—