Enhanced to show a toast when connecting with the service failed.
Changed BaseFragment to be public.

Private BaseFragment is good because it is the base class of the actual
fragments. But Eclipse did not compile it.
@SupressLint("ValidFragment") did not work.