Remove usage of deprecated toolbar methods am: 1033c500cf am: e37e75983e

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

Change-Id: I498aff60aa83f1c4b16d8982bb3e09122e814dd6