Added the logical part for renaming a puzzle. The windows for doing it is not done yet.