I believe you’re meant to derive your own StandaloneApp class with the changes and then replace the default:
Cheers,
Rail