set origin of button based on clear button title