x button only apperas when there is more than 1 item in the arraylist