Fixed bug about sensor's event listeners removal

Jira issue: WP-976
Fixed dependencies
Merge pull request #2 from glatorre/WP-976

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