[client] Make sure to set initial state of buttons correctly