made changes for code review feedback: use camel case for button id, rename parameter message to messageCount