Auto connect to Bluetooth device

I made a Bluetooth application using mit app inventor, here after getting connected to the Bluetooth device selecting from list picker..it normally send a cmd == 1 to my esp32 Bluetooth..and according to that value the esp32 loop runs..

But I want to make it able to reconnect to the last selected Bluetooth device.i don't want to mention the Bluetooth mac address on the app but wants to save the Bluetooth MAC ADDRESS to the tinydb or anywhere in the app ... when for the first time I go to the list picker and select my esp32 device..it will automatically save that mac address. And from that time whenever i open the app it will automatically call that mac address to the BluetoothClient to get re-connected and send values..

If you guys can, help me doing this .

Thanks in advance :heart: