Added hint save functionality