SwipeBackLayout: fix crash when showing alert activity