Sets default value of detail dropdown

This changes based on the dropdown of assessment reason. It's not clean
code and I'm not happy with it but it works which is what's most
important.