Moved the random word picking

Moved to allow for restarting the game without having to completely
close the application in the future.