Handled some errors I ran into when testing the PulseOx SmartAlarm app