updated afragment and startActivity