Replaced int alarmInSeconds with long alarmInSeconds