Change completedActions to actionOnComplete

Change completedActions to a single action (if necessary, could use compound).
It's doubtful anyone would ever need to use multiple lines here, so storing
an array is pretty useless.