Fixed a bug where the ownership of a module is change when a user edit and save it.
See #208.