Fixed bug that prevents window from opening more than once until Anki is restarted