Thread issue fix

Interruptions no longer appear after the stop button is pressed when a
flashcard is active on screen.