fixed analyze button
Merge pull request #97 from patrickdmccarthy/refactor

fixed analyze button