setAndVerifyUserData

AccountManager.setUserData has been found to be unreliable at times. This extension function checks whether the user data has actually been set and retries up to ten times before it gives up, without throwing an Exception.

Account user data should only be used to reference an own reliable storage.