Added encryption of SharedPreferences and updated documentation.