Clicking the 'Done' button resets the module to its default state. 'Done' implies you've completed your selection so this doesn't make sense. This changes it so any selection made will be confirmed when 'Done' is clicked.