Fix bug 5634: Reactivating disabled module removes extensions of other deactivated modules with similar name
improving coding style
use oxRegistry
replaced deprecated methods usage
improving coding style
improving coding style