Added logic in main activity for launching gen random word for result and accepting result