SetType function called for note title