android to handle db corruption