Changing the connectionStatus from boolean to string.