Fixes issue #58. Now editing modules works as intended.
Merge pull request #117 from LassiHaaranen/master

Fixes issue #58. Now editing modules works as intended.