Replace the selection marker