* iOS switch from file cache to memory cache and use last_picture_update to update the avatar if needed
* Android switch from file cache to memory cache and use last_picture_update to update the avatar if needed, split function to multiple files and catch potential exceptions