fixed dblogin window title when switching database modes