Thanks Micheal, I made a redirect from populateState() to loadState().