Fix problem that notification settings is not saved