def add_configure_buttons(editing):
    """Returns a list of buttons to be used by
    create_configure_message, adds additional
    'BACK' button if user is editing a submission
    Args:
      editing: boolean for if user is editing
    Returns:
      list
        containing the buttons to be used by the
        create_configure_message function
    """
    
    button_list = [
      {
        "textButton": {
          "text": "QUIT",
          "onClick": {
            "action": {
              "actionMethodName": "quit_campaign",
            }
          }
        }
      }   
    ]

    if editing:
        button_list.append(
          {
            "textButton": {
              "text": "BACK",
              "onClick": {
                "action": {
                  "actionMethodName": "back_submission",
                }
              }
            }
          }
        )

    return button_list