refractored. button click listener does not need access beyond fragment