adding code to save SCS preference into client table after registration.