automatically open last database with last used key