Fixed the initialization of the list property of ActionList to avoid null reference exception.