Fixed alarm crash when activity destroyed