added functionality to set questions to open or closed