[02-07-13] Function added to link a state with actions.