fixed ItemActivity so on resuming it has the correectly marked selected items.