CLOSED - task 167: Tidy up WidgetFactory and ModuleActivity 
https://github.com/DigitalCampus/oppia-mobile-android/issues/issue/167