How to Fix Logitech MX Keys Not Connecting to MacBook or iMac

If you have Logitech MX Keys wireless keyboard, congratulations, you have bought one of the best keyboards out there. However,…