I need to Show the BLE names and connect to their addreesses

Your code is nearly there. Like this: