fix: Undo takes back theme changes, section colours and notebook properties

Saving in the Themes dialog is a step on the window's undo timeline: Undo puts the
themes and the scope's theme back and restyles the page, while what it wrote still
holds. A section's colour and Notebook Properties' name and colour go back too.

Assisted-by: claude-opus-5.5
b27d10a6a0clover caruso committed on 10/3/2026, 2:55:46 AMparentb58ce1f
2 files changedLine totals unavailable