Buttons keep unbinding by themselves

I bind the keys so that they work (for example: Q button for spawn menu) And when I relaunch the game, the buttons are unbinded again. How can I fix this?

Bind them in main menu and exit then, Should work. If the game crashes, the binds will not be saved.

You can also enter your binds in one of the .cfg files, I think it was garrysmod/cfg/userconfig.cfg