Add DAL to store alarms to preferences (work in progress)