Prevent adding a state which name is already persistent in state machine