Moved Camera code from viewDidLoad to viewWillAppear