Issue #6: Implementing SharedPreferences for notifications, and updating references to deprecated classes