Added a call to a method when we choose an element in the result list.