Fix Crash when creating alarm without UI

Bug: 17577523
Change-Id: I58478b27b2f693ee1d280ea07640fcc088f8209e
1 file changed