Fix class cast issue in AddItemActivity am: 671ffb88ca

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15299573

Change-Id: Ic1d75e6a1357a4ef43a6f3b92db578ed29c6ab08