create and define resource ids for buttons
link buttons and add click listeners