Added a boolean that prevents quitting while a file is sending
Resolved quit while solving