add callback for single result

I was hoping to create a 'automatically select single result option'