Fixed bug occurring after returning from timeout screen causing the app
to crash (which did not initially occur in testing, but occurred after
unrelated changes).