Sets a long value in the shared preferences.
true if the value was set successfully, false otherwise.
true
false
The name of the preference to modify.
The new value for the preference.