Fix alarm, read last location for database