BUG DESCRIPTION: not switching UI correctly, when switching between sub actions