Convertede activity into a fragment