fixing removing items and correcting selected index of jlist :(