`IgnoredWhenDetachedHandler` should be before `UIThreadHandler` and `BackgroundHandler`.
The test whether `getActivity()` is null should be right before the call of the method. If not, `getActivity()` could return a non null `Activity`, then, the call of the method is delayed and when it will be called, `getActivity()` could return null.