Getting text of clicked list button

See this forum post.