reorder the helper button code and change css