This is achieved by iterating through the pool of StorageItemPreferences up to the index of the last shown one, instead of iterating through the preferences of the screen which may miss preferences inside other top-level preference groups. Bug: 22353561 Change-Id: I2293a7949a5becfb506d6b7965f8db2f11845756