Fix icon when database is locked