Fixes GH-120 - IndexOutOfBoundsException

Finally was able to get this to duplicate on my device. During
onLoaderReset (such as when the device is restored and a configuration
change is done), the adapter is emptied out temporarily.

Signed-off-by: Ian Lake <ian.hannibal.lake@gmail.com>