refactored selectNone and stop setting preview on delete