Refactor customer merge click handler to be its own method