Try taking this dude out of here & putting it in the main constructor to figure out from where the problem comes , from your file or the code or etc or you have not already called setEnabled in your game context !
EDIT : check your
stateManager.attach(new yourstate());
If you cannot find any clue then try the example you linked upthere !