User presses a button that increases a counter. The updated value is stored.