Changing event longclick dialog from custom activity to dialogfragment