Fix class cast issue in AddItemActivity am: 671ffb88ca

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

Change-Id: Ie58b81760282447db71416b8f212e96a19020931