Add cache to SelectionTrackingActionListener

Issue: SWF-1614
Add null check to FlowHandlerAdapter

Issue: SWF-1595