save
Boolean
Method to save boolean to preference
Parameters
key
preference's name
value
preference's value