Ignoring IntelliJ generated files and removing duplicate method call.

* Removing *.iml files
* Removing duplicate `setEnabled(...)` call