fix focuses in multiple features

- fix focuses when buying an item and on clipboard
- refactored store purchase count code