Replacing with:
```js
    var selected = ThreadList.selectedInputList.length;
    var method = selected === ThreadList.count.length ? 'add' : 'remove';
```

Where `ThreadList.count` is tracked via `renderThreads`