Modified the alerts for Check Connection Button