Read of buttons done the right way