Update water record on resume, fix water number wrong resume on diff day
Add needed $rootScope dependency
Order seems to affect the minification :-/