Rearrange buttons position/color while adding/editing a link