Switch MainActivity into FragmentActivity and hook a Refresh action