This works for me. Exit Assetto Corsa
1. After changing the number of laps, copy all of the text in event.ini and paste to new text document such as wordpad.
2. save new text document.
3. Delete original event.ini file
4. Rename new text document to event.ini
5. Startup Assetto Corsa and try again.