this is a safe way to remove observer https://stackoverflow.com/questions/21418726/ios-remove-observer-from-notification-can-i-call-this-once-for-all-observers-a https://useyourloaf.com/blog/unregistering-nsnotificationcenter-observers-in-ios-9/