Fixed "text" to use selected text or page title.
Merge pull request #9 from setomits/fix-selected-or-title

Fixed "text" to use selected text or page title.