Fixed a risk of nullPointerException in Request. Added key to PreferenceKeys and added the use of this class in LibraryService and AppData. Fixed a risk of nullPointerException in GroupsActivity.