Check class on the delegate, which SHOULD be the view controller