Why isn't my app connecting to the esp32

My app uses BLEextension and I use a list view to show the deviced found during the scan but when I choose any of the devices the app doesn't do anything and the app doesn't connect to the devices