Added convoluted bug fix to "more details" category text box

If the user enters a string in a text box, adds another detail, then
edits the original string, all text afterward disappeared. This fixes
the bug, but there is probably a much shorter solution that I will try
to figure out later.