Several minor changes

Now sync when time zone seems to have changed, 
bugfix when phone sends zero events.