Keys on keyboard swapped
Hello.
Today I was trying to connect a Bluetooth keyboard to my MacBook (Retina, 12-inch, 2017). After connection the keyboard to my Mac (via Bluetooth), I tried to configure the layout on it to match the layout of the built-in Mac keyboard. For this, I tried to use Karabiner-Elements and Ukelele (maybe this information will help you figure it out, but I'm not sure). After I finished using the Bluetooth keyboard and returned to the built-in Mac keyboard, I was unpleasantly surprised to find that the ~ and ± keys on the Mac keyboard had swapped. I mean, pressing the key with image of symbol ~ (also `, [, ] symbols) prints ± (respectively §, <, > symbols) and vice versa.
How can I restore the characters these keys should print? Is there some way to reset the keyboard settings (if restoring fixes the problem)? I don't want to restore my Mac to factory settings...
I would be grateful for any advice and help!
MacBook, macOS 10.15