Correct the categories-expanded classlist behavior.

CL 667 modified the UX of the Record Selection dialog.
Committed CL had couple of minor issues:
1. If last selected value was 'Manual', on next invocation
   of record dialog, though the categories view was expanded
   the 'Edit categories' arrow was shown not expanded.
2. If user clicked on 'Edit categories' on a preset option,
   and then chooses another preset option, the 'Edit categories'
   was still open though it shouldn't be.

Both the issues are fixed in this CL.

BUG=603

R=dsinclair
Merge pull request #675 from kphanee/fixup_record_sel_dlg

Correct the categories-expanded classlist behavior.