Cleaned up button titles, code, and logging statements for demonstration purposes.