Fixed navigation after saving text