Added a return value to the action function, is true if any action ocurred.