Now saving ID of the latest shown alarm and counting number of new alarms.