After remapping the buttons, create a save file (any slot) and the settings should be restored next time you launch the game.