function resetSavedTokensFile(showRelaunchScreen = true, showWarning = true) {
  if (showWarning) {
    const res = displayDialog({
      type: 'warning',
      message: 'Are you sure to reset the tokens?',
      detail: 'After proceeding with the token reset, you will be directed to the "Get Token" screen for fetching new access tokens.',
      buttons: [
        'Proceed',
        'Cancel',
      ],
      cancelId: 1,
    });

    if (res === 1) return;
  }

  const savedTokensFilePath = assistantConfig.savedTokensPath;
  fs.unlinkSync(savedTokensFilePath);

  if (showRelaunchScreen) {
    displayErrorScreen({
      icon: {
        path: '../res/refresh.svg',
        style: `
          height: 100px;
          animation: rotate_anim 600ms cubic-bezier(0.48, -0.4, 0.26, 1.3);
          ${getEffectiveTheme() === 'light' ? 'filter: invert(1);' : ''}
        `,
      },
      title: 'Relaunch Required',
      details: 'A relaunch is required for changes to take place',
      subdetails: 'Info: Tokens file reset',
    });

    const suggestionParent = document.querySelector('.suggestion-parent');

    suggestionParent.innerHTML = `
      <div class="suggestion" onclick="relaunchAssistant()">
        <span>
          <img src="../res/refresh.svg" style="
            height: 20px;
            width: 20px;
            vertical-align: top;
            padding-right: 5px;
            ${getEffectiveTheme() === 'light' ? 'filter: invert(1);' : ''}"
          >
        </span>
        Relaunch Assistant
      </div>
    `;
  }
}
Deletes the saved tokens file forcing the Get Tokens
screen on next start.

@param {boolean} showRelaunchScreen
If set to `true`, the "Relaunch Required" screen will
be shown.

@param {boolean} showWarning
If set to `true`, the user will see a warning before
any action is taken.