Fixed the correct word badge issue

Brought back the code which puts a badge when correct words are being
formed