moved myFragment to live outside mainactivity