bug fix for connection add button (string compare in java doesn't work with ==)