Badge notification permanently set to 100?!

Hello Everyone,

So I have a weird issue with my app that I am creating. I am making a reminders app and while testing out notifications (alerts, badge, sound, etc) I set the badge number = 100 because I wasn’t noticing any changes. Once I saw that it set to 100 I removed the code and added this code:

if let badge = badge { var currentBadgeCount = UIApplication.shared.applicationIconBadgeNumber currentBadgeCount += badge notificationContent.badge = NSNumber(integerLiteral: currentBadgeCount) }

but for some reason, regardless of any notifications/reminders being inside my app the badge number always reflects 100. I’ve included some screenshots to show my app delegate folder and the other issues.

What did I do wrong?

Bump. Does anyone have any ideas on how to fix this?