use a UiHandler inside DecodeThread