Fix wrongThreadException on android < 4.4