add listener for shared preferences for user/application
add test for global shared preference listener