some changes
move [NSNotificationCenter defaultCenter] addObserver: to init