First shared preferences implementation.