Changed the configuration for the ApplicationStates to string. This fixed the issues