In App Settings

Hi,
Something weird is going on with my code. I want it so when someone allows me to send notifications, if they go into my setting view controller to see that toggled on. Here is a link to my project: https://drive.google.com/file/d/1IPAnnuTaZmaDU3P27S5FQAEia1NG3Ac2/view?usp=sharing

Thanks in advance!