The autocomplete now takes in a list of methods to call when an item is selected