Fixed issue #35 (Edited values of state names and actions are not retained in memory).