Moved iap check to viewwillappear.