make button relate to text