refactored new method pig.disableAllButtons()