Fixes bug where app would stop recognizing