Changed addButtonPair method for MasterFlatMaker GUI class