Added functionality to make questions inactive