add button method calls in xml files