bugfix 1: provide default constructor for service class.
bugfix 2: register listener on the correct SharedPreferences instance.