Why my form title is not changing?