Fixed bug about sensor's event listeners removal [WP-976]

Jira issue: WP-976 (Implementing modularization for Sensors API)

The bug implied the removal of the listener relative to a sensor different from the one that calls the removeEventListener