I figured out what is wrong…
The config is right, but I started application for debugging from Eclipse, this was the issue.
Case # 1.
Debug > A > B > HOME > A
Get: A (stack is cleared)
Case # 2.
Debug > A > BACK > A > B > HOME > A
Get: B (stack preserved)
Case # 3.
A > B > HOME > A
Get: B (stack preserved)