fix bug where restoring view state after screen gets destroyed and recreated by gson caused a crash because SparseArray<Parcelable> was not being created correctly