Fix bug: Enable delete button of database connection.