Only print text from buttons when appropriate