fixes CalledFromWrongThreadException
need this to get it working on Titatium