not allowing the user to close the application before answering all the questions