addModule now changes to correct tab