Added basic code for the handling of the last selected positionable tag.