Move button listener out from dialog to fragmentActivity