Fix bug of notification popup.

fixed #78.