- Replaced local prefs with Photobook.getPreferences()
- Added headers HashMap to UploadAvatar request