Use correct method of creating button