Loading Bitmap example that gets stuck