Populating the spinner with database data

I hope I explained myself clearly enough :grin:
There’s a lot written, but in the end, the functionality is very simple.