Added onBackPressed() which uses taskPool.shutDown() to shutdown after back button is pressed