Removing cycling invocation of saveState() function.