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: Ic977c57bce10edc6c2bbdec11b8405ccf515efb6