ArrayIndexOutOfBoundsException was produced when the user tried to apply changes in "Setup selectors" right after closing all databases.  Now the exception is caught and a message is shown, telling the user that the changes could not be applied.