Fixed conversion to pointer; keeping first text obj's active text

Change-Id: I6d6b000caf161cdcbea9ec3cf80a26cefd199d73