Fix: rename local settings variable

Since `settings` variable is already defined in plugin's scope it gets overwritten and settings passed to `init()` function are lost. Renaming local variable fixes this issue.