Fix NullPointerException for player.
Make FlowManager non-static.