Fixed problem while not updating StateArrayList