Bluetooth Storing Peripherals/Connecting to stored Peripherals

I am very new to the Bluetooth/BLE world and have been using multiple different online resources to help learn my way through it.

I want to be able to list the discovered devices in a list, and upon clicking on the device in the list I want to connect to that device. All the guides show connecting to the device after scanning. What is the best approach to store the peripherals so that I can connect to the device of choice from the list?

I can post my current code if it helps!

Thanks!

Bluetooth Storing Peripherals/Connecting to stored Peripherals
 
 
Q