Properly null check all button usages.