Thanks for reporting the bug.
Regarding the option to activate and deactivate ambient occlusion, just click on the checkbox to deactivate and activate.
it works fine in-game but not in the menu(before starting game)
In the menu, does it not activate the effect or does it not activate the checkbox?