* Restore database from a backup when encryption fails for some reason * Removed unused code * Safer way of doing some things * Ordering * Increased possible diff in time to 10 seconds * update strings * Alert confirmation * update strings Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>