Fix refresh timer setup.
Merge pull request #83 from prometheus/julius/fix-refresh

Fix refresh timer setup.