Add shared preferences changed listener
Register onSharedPreferenceChanged and add test