Avoid adding the <notificationSettings> tag twice.