Logic can be simplified:

```
        if (wasRequested) {
            // Update highlight
            showHighlight();
        } else if (isViewable) {
            // TODO (jasonsanjose): optimize this by reusing the same connection
            // no need to fully teardown.
            close().done(open);
        }
```