private void updateConfigDataItem(String key, String value) {

    Log.d(TAG, key + " - updateConfigDataItem - " + value);

    DataMap configKeysToOverwrite = new DataMap();
    configKeysToOverwrite.putString(key, value);
    BReelWatchFaceUtil.overwriteKeysInConfigDataMap(mGoogleApiClient, configKeysToOverwrite);
  }
  private void updateConfigDataItemAndUiOnStartup() {
    BReelWatchFaceUtil.fetchConfigDataMap(
        mGoogleApiClient,
        new BReelWatchFaceUtil.FetchConfigDataMapCallback() {
          @Override
          public void onConfigDataMapFetched(DataMap startupConfig) {
            Log.d(TAG, "startupConfig: " + String.valueOf(startupConfig));
            String twentyFourClockString =
                startupConfig.getString(BReelWatchFaceUtil.KEY_HOUR_FORMAT_TYPE);
            toggle1224Mode.setChecked(
                Boolean.valueOf((twentyFourClockString != null ? twentyFourClockString : "false")));
            toggle1224Mode.setEnabled(true);

            mImage24Mode.setVisibility(toggle1224Mode.isChecked() ? View.VISIBLE : View.INVISIBLE);
            mImage12Mode.setVisibility(toggle1224Mode.isChecked() ? View.INVISIBLE : View.VISIBLE);
          }
        });
  }