I do not have your entire projecxt so I'm guessing,
loadlayout does not know how to handle bitmaps properly it use loadBitmap instead of loadbitmapsample, this is , in many cases the problem
I suggest you erasall your bitmap usages in the designer and load it manually in code user loadBitmapSample, and put the right maxwidth and maxheight
the reason it happen the next time you run it is because the app alreday in memory and you try to load images again - you might need to clean the images manually when you pause your activity (or when you create not for the first time)
I suspect the reason you get your DB corrupted is because you are not using transactions and you crush in the middle of complex writing to the DB (more than one update/insert that leave the DB incorrect if you stop in the middle), try to log before and after any DB write opperation see if this is true