Sample app: set activityController's popoverPresentationController.barButtonItem on iOS 8 otherwise it'll crash

Change-Id: If554066a703867006b43b7bc94d091fc5c0dd8d5