move notification-wrapper, merge isOpened functions

move notification-wrapper, merge isOpened functions