changing cursor to text