Added 'finished' flag, removed 'title' and set key to 'id'
Implemented adding of item from dialog.