Changing the tooltip state