I am sorry, i could of made it a bit more intuitive. you being hit by enemies and it showing a message to be refunded was an oversight that i could of done better, the idea being that when you die you can change your loadout to suit the wave better. the way it works is that you select the items with the A button (k on a keyboard), with the icons on top referring to what button corresponds to, then pressing start exits the shop.