Adding button property to toolbar items.