math-preferences: Fix setting the switch state
The callback should return true to stop propagation and false otherwise. Here we don't return anything, which is wrong and make the propagation stop, which isn't what we want. This makes the callbacks correctly propagate the set-state signal so the switchs can acquire the checked state.
Before:
After:
Edited by Adrien Plazas