Fix missing null-check for getActivity() in ToastException