fix plugin when settings are missing (i.e. after fresh install)

when the addon's settings are never saved (i.e. on a new install), the boolean values contain 0 (int), whereas after saving, they contain either "true" or "false" (strings). the changed if-clauses workaround this problem without changing the defaults.