Units button does not change units in Track menu
# Description
In PCB editor, when the mm/in/mils unit button is clicked, the Track-menu does not change the units until the PCB editor is reopened.
# Steps to reproduce
1. Open PCB editor
2. Click units button to change the unit
3. Open Track menu: units are shown in old unit
4. Close PCB editor
5. Open PCB editor
6. Check Track menu: values are now in correct unit
# KiCad Version
Application: KiCad PCB Editor x86_64 on x86_64
Version: 10.0.3-10.0.3\~ubuntu24.04.1, release build
issue