Removing unnecessary getActivity() calls