move selected listener from adapter to fragment