Simplify logic of CaptureAction