Handle external updates again

This fixes the issue with #28 where focus is lost when editing input fields.