Changing Focus based on table changes