I completely messed up the command buttons. How do I reset them?

Since Text Fiction v2.0, every game maintains it's own settings for the quick command bar. The settings are kept in a file called quickcommands.json which resides in the game's data dir. To reset the buttonbar, simply delete that file (requires either a file manager app or a desktop computer) or replace it with a more suitable quickcommands.json from another game.