SendEventIfBool action fixes

restructured the action