doAction() rewrited. Order of actions inserted