Do some cleanup on tooltip and popover
- refactor duplicated code to functions
- use newest methods
NOTE for reviewers:
Better review it, commit by commit. It will help you with the proper message and will guide you with sanity to follow the logic
preview