Edit button fix(delegated event)