changed line selection after addition