- fixed bug in remove function when clicking remove icon on selected item