ArrayList variable changed