Fixed setter for barButton in iPad UI, according to Paul Hegarty's solution of summer 2012.