Added default onConnectionChanged handler