title: How to remove all but one activity from the stack?
body: <p>I have activities like
  A, B, C
  Then I want to remove B, C and add D as a one after A (so that when we click BACK in D, we go to A).</p>
  <p>How can I do it? Flags do not work, as they clear all, including A.</p>