refactor evernotehelper getnotes to achieve better readability