Improved Performance by separating UI and Background Threads