fix(macAutocomplete): Fixed not able to select item when clicking on dropdown

Fixes #174
refactor(macAutocomplete): Reduced memory usage and fixed scope not destroying correctly