storing and retrieving alarms from user prefs