getActivity().onBackPressed();

Read more of this post