delete selected items functionality added