[issue #353] [WIP] fixes a bug of selecting a word with a star from autocomplete dropdown
[issue #353] [WIP] fixes a bug and completes sorting works by categories in the autocomplete