change status of the toggle button when module activation fails. Fix #28...

...7