[core] Add NIButtonUtilities.