Remove usage of deprecated toolbar methods am: 1033c500cf

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

Change-Id: I8b76d73640d1a0ce17e35e92640e2641fab64a33