adapted delete selected button - closes #20