Cleaned up AlarmTrigger. Introduced global Application.