Moved some activity off the main thread