Used Telephony class instead of prefs.