order dictionary text selection tools by language
BugFix: correct check for null value of location