Fix singleclick conflicts storing measure directive state in the $rootScope

I really don't like but it's the only thing I succeed to make it work to fix the conflict