I have found a fix to the settings not saving.
Go to: in-game settings -> Controller -> Reset to Default.
NOTE: I HAVE NEVER TOUCHED TO THE CONTROLLER SETTINGS BEFORE, IT'S WEIRD
Then, do not touch any other settings and close the game.
It worked for me surprisingly, as, as mentioned before, I never touched the controller settings before.