passing object from on click event to fragment