That means that the app window and background will now be dark if you're using dark mode, making Notepad far more comfortable to use at night. What's more, the UI in Notepad has been modernized ...
Notepad may be glitching because there is no default text editor set up by the user and the background apps have been disabled (in which case Notepad doesn’t show up on Windows search).