Trying to make a browser

I have a problem using the list picker element. I think my code is correct to make an element that represents the user`s visited websites, but when I tested it, the list picker showed no element even after using the browser to search google and youtube.

This is my code.

Perhaps try something like this: