Fixed delete click handler