added nsnotificationcenter adding and removing observers