nit: a little comment to explain that resetting the hash is a hack to know when the user hit the home button would be useful