ok button is now active/inactive when all items selected

- [x] finished the code
- [x] test coverage
- [ ] gathered feedback for my changes


| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| Tests pass?   | yes
| Fixed tickets | none
| Doc           | none