To fix infinite loop, moved challenges from subview to main view