Correct usage of commitText method. Placing cursor after inserted text as it should be.