Fixing button attributes.