Listpicker doesn't show connected bluetooth devices in the list

No matter what I try, whenever I click on the list picker for the bluetooth devices, nothing shows up, just a black screen. Bluetooth is on, everything is connected.
Am I doing something wrong?
Attached are both the screen that I get and the blocks I wrote: