added clear button and the ability to clear items by clicking on them.