Converted button to object.