Add delegate to Iphone as well as iPad