Fix a rare crash in `onBackPresses()`. https://redmine.stoutner.com/issues/651