Rewrote some code for the Evernote button