replaced main button attributes with style