Bug 918007 - Factor out method to enable/disable buttons (r=sriram)
Bug 918007 - Disable toolbar elements while in editing mode on tablets (r=sriram)