Replacing button listeners to xml call