Setting details got from dialogfragment to editprofileactivity.