make clearing the list selection optional at the end of the run

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>