By commenting these lines, I can still enable or disable the addon in "project settings". Nothing has changed.
Attached is the error message when deactivate addon :
Is it possible to see (picture) how this button labeled "database" looks like?
A picture of this button ?
At the top right of the screen, just below the close button. I'm really sorry for the late answer.