Auto reset function for cookie clicker