I configured a button on my mouse to the action Active Previous App.
This works fine as long as both Apps are active.
If I close one of the last two apps this action results in ... nothing ...
Maybe you could change the feature to open to the Active Previous Running App