add method to change cardaccount operationstate