UI Thread in Android Applications - Protection of User Interface from Background Threads