Not a mistake. Try replacing (..). instead add to the back stack if necessary.
EDIT I think using replace or remove() add() will solve your problem, but since you highlight in your related message, an error that appears in your specific conditions.
source share