delete item on button click and update arrayadapter in the view