Working code - with Gallery
no round corners on bitmaps (crashed on reorienting of the device)