savedinstance and alarm manager.