Added the text and handles just text or just selector