First of all, we will start by plugging in a library to make the access to SharedPreferences easier, that's called RxPreferences (and can be found at https://github.com/f2prateek/rx-preferences). One of the main things that the library does is that it starts listening to the changes inside the SharedPreferences class, and it can pass them through the Observable interface.