Fix a crash when displaying one alert after another

Fixes a bug found in TribeHR/TribeHR-iOS#434