Fix a wrong method call in logicalResponseFor

Changed `r.getNotificationStatus()` to `r.getDeviceConnectionStatus()` in the third check of the `logicalResponseFor` method.