improve the interface a bit

it shows the selected pair directly in an edit view