Setting the text tool as selected before prompting the user for the text. This should give the button the correct state earlier