save the states of list items in CardArrayAdapter