use dao to populate data in the fragment in second activity