Calling API to set questions