The game gives you one of the items in the menu automatically. I think whichever one is at the top of the list.
The loot at the top of the selection screen will be placed in your inventory. It's also good to note that the game prioritises purple items over blue ones for example on the selection screen.