Added utility for getting alarm or preset from activity (via getIntent)