Fix problem of user email notification setting not saved correctly