delete & modify

- change badge to label to show the length of the a list when adding an
item
- delete unnecessary scripts
modify lists in session when event happens
add a missing attribute

- add name attribute to category to pass the value