Changed items from array to hash
Added parameter key
Added parameter key
Now hash[key] to the new text/icon instances
Calls method with new parameter key