jQuery help needed!

jQuery help needed!

Please take a look at my source code before you read:  http://jsfiddle.net/8NCF5/

I've gotten so far, that when you type something in the input box and click somewhere else (focusout) the item is added to the list. All the already added items can be clicked, and their class will change. But when I click on an added item, the class stays the same. How can I change this? (I'm sorry my code is so messy, I tried commenting the jQuery to make it easier to read)

Eric