Fix Success and Invalid Data Messages

Fix success and invalid data messages in Android 13 and greater