'Add item to alfred Feedback
Args:
title(str): the title displayed by Alfred
Keyword Args:
subtitle(str):    the subtitle displayed by Alfred
arg(str):         the value returned by alfred when item is selected
valid(str):       whether or not the entry can be selected in Alfred to trigger an action
autcomplete(str): the text to be inserted if an invalid item is selected. This is only used if \'valid\' is \'no\'
icon(str):        filename of icon that Alfred will display'

def add_item(self, title, subtitle='', uid='', arg='', valid='yes', autocomplete='', icon='icon.png'):

    if (not uid):
        uid = str(len(self.feedback))
    item = et.SubElement(self.feedback, 'item', uid=uid, arg=arg, valid=valid, autocomplete=autocomplete)
    _title = et.SubElement(item, 'title')
    _title.text = title
    _sub = et.SubElement(item, 'subtitle')
    _sub.text = subtitle
    _icon = et.SubElement(item, 'icon')
    _icon.text = icon
