 * Increase the saving speed of database #1028
 * Fix advanced unlocking by device credential #1029