onPress function is called with button.id woould be more powerful to call onPress with button, so that one can get label, value and id