**System Information**
Operating system: Windows-10-10.0.19042-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 2080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 496.76
**Blender Version**
Broken: version: 3.0.0, branch: SelectThrough (modified), commit date: 2021-12-15 12:21, hash: `rB6349dd43b17a`
Worked: (newest version of Blender that worked as expected)
**Short description of error**
When editing Keymaps, the keymaps very often incorrectly show "Restore" button even though there is no difference between saved and active keymap. This is very frustrating as it constantly keeps the user uncertain about the state of the keymap.
**Exact steps for others to reproduce the error**
1. Make a copy of a default keymap and save it under a new name.
2. Make modifications to this new keymap
3. Using the + button, save the the modified keymap under the same name to overwrite it
4. Notice the "Restore" buttons under keymap entries are still present
5. Open any section with the "Restore" button and then click it. Observe no changes to the section.
Result: Restore button is still present but it does not restore any changes. This makes user think the given section is modified, while it is not.
Expected: Restore buttons do not appear next to section with no changed entries.
OR:
1. Make a copy of a default keymap and save it under a new name.
2. Make modifications to this new keymap
3. Export this new keymap into a file
4. Import this keymap back from the file to overwrite it
5. Notice the "Restore" buttons under keymap entries are still present
6. Open any section with the "Restore" button and then click it. Observe no changes to the section.
Result: Restore button is still present but it does not restore any changes. This makes user think the given section is modified, while it is not.
Expected: Restore buttons do not appear next to section with no changed entries.