Ensuring that the alarm always fires, fixed bug where changing preferences would break alarm