clears textfield when item is added