white button logic