Fixed notification center errors

Fixed the NSNotificationCenter errors.