empty button divs before appending buttons