Thread issue fixed

Thread would continue to if the 'stop' button was pressed while a
flashcard was present on the screen.