networking: Fix trivial bug in current UI

We shouldn't keep appending the connection type when you click on
it.