Save regId using sharedpreferences