Fix a bug in the M500 for saving the PID setting

Forgot to add the S parameter