Fixed #5: Checking if dataListener is null, if so give offline message.