Reloading is an easy option: set flag, close main window, in custom App.xaml.cs organize a loop to check flag and recreate window instead of exiting. Or simply call
Process.Start(System.Environment.ProcessPath!)
and shutdown the current app.