private void showState(ViewState viewState) {
        switch (viewState) {
            case Init:
                statusLabel.setText("Init...");
                changeBgColor(COLOR_INIT, false);
                break;
            case Connecting:
                statusLabel.setText("Connecting...");
                if (isFocused()) {
                    changeBgColor(COLOR_CONNECTING_FOCUSED, true);
                } else {
                    changeBgColor(COLOR_CONNECTING_UNFOCUSED, true);
                }
                break;
            case Connected:
                if (isFocused()) {
                    statusLabel.setText("Connected!");
                    changeBgColor(COLOR_CONNECTED_FOCUSED, true);
                } else {
                    statusLabel.setText("Connected! Not focused");
                    changeBgColor(COLOR_CONNECTED_UNFOCUSED, true);
                }

                break;
            case Disconnected:
                statusLabel.setText("Disconnected");
                if (isFocused()) {
                    changeBgColor(COLOR_DISCONNECTED_FOCUSED, true);
                } else {
                    changeBgColor(COLOR_DISCONNECTED_UNFOCUSED, true);
                }
                break;
        }
        currentState = viewState;
    }