Fixed recent text cookie to store only the last 10 texts