Fix bug #985.

Details:
- Fix Bug #985. Bookmark does not open second time.
Merge pull request #1006 from alex-zen/bugfix

Fix bug #924.