save
String
Method to save string to preference
Parameters
key
preference's name
value
preference's value