Added a way for the user to change ai settings.