add condition to helper for apps GotoIf, ExecIf