Added SQLite database for alarms.