Fixes arrayadapter crash