checkout flag ui