fixing cloud observation when switching measurement and data count mode,
some icons do not switch over because there's javascript error