Resolved dependency and logic issues with selectionTool and regexAutoComplete