add ability to put selected text to a localStorage