Minor chnage in notifyPendingTransactionOfStateChanged API