Added a getter for timeAlarm(id) to the database