Fixed weird crash due to timer displaying the dialog box after activity
finished running

Made guess comparison non-case-sensitive