clear the selection lists after commiting