It just needed a minor change. Here's a patch: https://pastebin.com/SUsNdKn6
The only important change is to GUIFactory. The other changes were just necessary to let me build and run the project in IntelliJ.
This should be compatible with all platforms, but I suggest you give it a quick spin on Windows, particularly paying attention to the save path when you press Apply.